<style>
    .center {
        width: 90%;
    }
</style>
<form class="layui-form center" lay-filter="layuiadmin-app-form-list" id="layuiadmin-app-form-list">
    <div class="layui-form-item">
        <label class="layui-form-label">商户名称</label>
        <div class="layui-input-inline">
            <input type="text" name="name" required  lay-verify="required" placeholder="请输入商户名" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">商户类型</label>
            <div class="layui-input-block">
                <input type="radio" name="kind" value="1" title="平台账户">
                <input type="radio" name="kind" value="2" title="私有账户" checked="checked">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">商户费率(%)</label>
        <div class="layui-input-block">
            <input type="text" name="mchRate" required  lay-verify="required" placeholder="请输入商户费率" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">手机号</label>
        <div class="layui-input-block">
            <input type="tel" name="mobile" required  lay-verify="phone" placeholder="请输入手机号" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">邮箱</label>
        <div class="layui-input-block">
            <input type="text" name="email" required  lay-verify="email" placeholder="请输入邮箱" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">状态</label>
            <div class="layui-input-block">
                <input type="radio" name="state" value="1" title="启用" checked="checked">
                <input type="radio" name="state" value="0" title="停止">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button type="button" class="layui-btn" lay-submit="" lay-filter="userAdd">确定</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>

    <script>
        layui.use(['admin', 'form'],function(){
            var form = layui.form
                ,$ = layui.$
                ,admin = layui.admin
                ,element = layui.element
                ,layer = layui.layer ;

            element.render('breadcrumb', 'breadcrumb');


            form.render();
        })
    </script>


